# -*- coding: utf-8 -*-

# @Author : guoxin

# @Time : 2024/6/14 15:55

# @QQ :363673234
from selenium.webdriver.common.by import By
from base.searchGoodsBase import searchGoodsBase
from base.ObjectMap import ObjectMap
class SearchGoodsPage(searchGoodsBase, ObjectMap):

    def sendkeys_goodsSearchEdit(self, driver,fill_value):
        """
        搜索货源
        :param driver:
        :param menu_name:
        :return:
        """
        goodsSearchEdit_xpath = self.goods_searchEdit()
        return self.element_fill_value(driver, By.XPATH, goodsSearchEdit_xpath,fill_value)